<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>修改用户密码</title>
    <link rel="StyleSheet" href="../css/jpetstore.css" type="text/css" media="screen" />

</head>
<body>
<div th:replace="common/top">

</div>

<div id="Catalog">
    <form action="editAccountForm" method="post">
        <h3>User Information</h3>
        <table>
            <tr>
                <td>User ID:</td>
                <td th:text="${session.account.username}">j2ee</td>
            </tr>
            <tr>
                <td>New password:</td>
                <td><input type="text" name="password" autofocus="autofocus"/></td>
            </tr>
            <tr>
                <td>Repeat password:</td>
                <td><input type="text" name="repeatedPassword" /></td>
            </tr>
        </table>
<!--        <%@ include file="IncludeAccountFields.jsp"%>-->
        <a href="/catalog/view">Save Account Information</a>
<!--        <input type="submit" href="/catalog/view" name="editAccount" value="Save Account Information" />-->

    </form>
<!--    <a href="viewListOrder?username=${sessionScope.account.username}" >My Orders</a>-->
<!--    <a href="/order/viewListOrder">My orders</a>-->
    <a th:href="@{'/order/viewListOrder?username='+ ${session.account.username}}" >My Orders</a>
</div>
<div th:replace="common/bottom">

</div>
</body>
</html>